package com.ubb.smartsearch.searchengineif.entity;


public class Search {

	/**
	 * Query Not all characters are allowed in an URL. Spaces etc. need to be
	 * encoded.
	 */
	private String q;

	/** Start (default=1). */
	private int start;

	/** Length (default=10). */
	private int length;

	/**
	 * Related length (default=20) : maximum number of related news per item,
	 * only for Trending News.
	 */
	private int rlength;

	/** Language: en - English (default), de - German, zh - Chinese. */
	private String l;

	/**
	 * Source: web - Web Search (default), news - News Search, news - Trending
	 * News (if empty q ), topics - Trending Topics, suggest - Suggestions.
	 */
	private String src;

	/** Keyword in context. */
	private boolean kwic;

	/** Instant search. */
	private boolean i;

	/** Result format: json, xml, rss. */
	private String f;

	/** JSON-P callback function name. */
	private String jsoncallback;

	/**
	 * @return the q
	 */
	public String getQ() {
		return q;
	}

	/**
	 * @param q
	 *            the q to set
	 */
	public void setQ(String q) {
		this.q = q;
	}

	/**
	 * @return the start
	 */
	public int getStart() {
		return start;
	}

	/**
	 * @param start
	 *            the start to set
	 */
	public void setStart(int start) {
		this.start = start;
	}

	/**
	 * @return the length
	 */
	public int getLength() {
		return length;
	}

	/**
	 * @param length
	 *            the length to set
	 */
	public void setLength(int length) {
		this.length = length;
	}

	/**
	 * @return the rlength
	 */
	public int getRlength() {
		return rlength;
	}

	/**
	 * @param rlength
	 *            the rlength to set
	 */
	public void setRlength(int rlength) {
		this.rlength = rlength;
	}

	/**
	 * @return the l
	 */
	public String getL() {
		return l;
	}

	/**
	 * @param l
	 *            the l to set
	 */
	public void setL(String l) {
		this.l = l;
	}

	/**
	 * @return the src
	 */
	public String getSrc() {
		return src;
	}

	/**
	 * @param src
	 *            the src to set
	 */
	public void setSrc(String src) {
		this.src = src;
	}

	/**
	 * @return the kwic
	 */
	public boolean getKwic() {
		return kwic;
	}

	/**
	 * @param kwic
	 *            the kwic to set
	 */
	public void setKwic(boolean kwic) {
		this.kwic = kwic;
	}

	/**
	 * @return the i
	 */
	public boolean getI() {
		return i;
	}

	/**
	 * @param i
	 *            the i to set
	 */
	public void setI(boolean i) {
		this.i = i;
	}

	/**
	 * @return the f
	 */
	public String getF() {
		return f;
	}

	/**
	 * @param f
	 *            the f to set
	 */
	public void setF(String f) {
		this.f = f;
	}

	/**
	 * @return the jsoncallback
	 */
	public String getJsoncallback() {
		return jsoncallback;
	}

	/**
	 * @param jsoncallback
	 *            the jsoncallback to set
	 */
	public void setJsoncallback(String jsoncallback) {
		this.jsoncallback = jsoncallback;
	}

}
